package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家信息管理对象 tb_merchant
 * 
 * @author hkj
 * @date 2024-09-09
 */
public class TbMerchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家ID，主键 */
    private Integer merchantId;

    /** 商家名称（商铺名） */
    @Excel(name = "商家名称")
    private String merchantName;

    /** 商家手机号 */
    @Excel(name = "商家手机号")
    private String phone;

    /** 商家微信号 */
    @Excel(name = "商家微信号")
    private String wxAccount;

    /** 商家营业执照照片 */
    @Excel(name = "商家营业执照照片",cellType = Excel.ColumnType.IMAGE,width = 40,height = 55)
    private String licensePhoto;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 服务状态ID */
    @Excel(name = "服务状态ID", readConverterExp = "2=正常,3=欠费")
    private Integer serviceStatusId;

    /** 商家身份证号 */
    @Excel(name = "商家身份证号")
    private String idcard;

    /** 小程序模板id */
    private Integer templateId;

    /** 是否独立数据库（0否，1是，默认为0） */
    private String isSingleDatabase;

    /** 数据库id */
    private Integer databaseId;

    /** 删除标识（0表示存在，2表示删除） */
    private String delFlag;

    /** 审核状态（0未通过，1通过） */
    @Excel(name = "审核状态", readConverterExp = "0=未通过,1=通过")
    private Integer isPassing;

    /** 登录的启用禁用（0正常，1禁用） */
    @Excel(name = "登录的启用禁用", readConverterExp = "0=正常,1=禁用")
    private Integer status;

    public void setMerchantId(Integer merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Integer getMerchantId() 
    {
        return merchantId;
    }
    public void setMerchantName(String merchantName) 
    {
        this.merchantName = merchantName;
    }

    public String getMerchantName() 
    {
        return merchantName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setWxAccount(String wxAccount) 
    {
        this.wxAccount = wxAccount;
    }

    public String getWxAccount() 
    {
        return wxAccount;
    }
    public void setLicensePhoto(String licensePhoto) 
    {
        this.licensePhoto = licensePhoto;
    }

    public String getLicensePhoto() 
    {
        return licensePhoto;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setServiceStatusId(Integer serviceStatusId) 
    {
        this.serviceStatusId = serviceStatusId;
    }

    public Integer getServiceStatusId() 
    {
        return serviceStatusId;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setTemplateId(Integer templateId) 
    {
        this.templateId = templateId;
    }

    public Integer getTemplateId() 
    {
        return templateId;
    }
    public void setIsSingleDatabase(String isSingleDatabase) 
    {
        this.isSingleDatabase = isSingleDatabase;
    }

    public String getIsSingleDatabase() 
    {
        return isSingleDatabase;
    }
    public void setDatabaseId(Integer databaseId) 
    {
        this.databaseId = databaseId;
    }

    public Integer getDatabaseId() 
    {
        return databaseId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setIsPassing(Integer isPassing) 
    {
        this.isPassing = isPassing;
    }

    public Integer getIsPassing() 
    {
        return isPassing;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("merchantId", getMerchantId())
            .append("merchantName", getMerchantName())
            .append("phone", getPhone())
            .append("wxAccount", getWxAccount())
            .append("licensePhoto", getLicensePhoto())
            .append("contactPerson", getContactPerson())
            .append("serviceStatusId", getServiceStatusId())
            .append("idcard", getIdcard())
            .append("templateId", getTemplateId())
            .append("isSingleDatabase", getIsSingleDatabase())
            .append("databaseId", getDatabaseId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isPassing", getIsPassing())
            .append("status", getStatus())
            .toString();
    }
}
